<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property">
<link rel="help" href="text-autospace-dynamic-text-001-ref.html">
<div id="target">国国AAAA国国AAAA国国</div>
<script>
const target_text = document.getElementById('target').firstChild;
document.body.offsetTop;  // Force layout.
target_text.deleteData(2, 2);
document.body.offsetTop;  // Force layout.
target_text.deleteData(6, 2);
</script>
